﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TJ_MYDDCFKHZModeWebForm.aspx.cs" Inherits="Anke.SHManage.Web.Reports.TJ_MYDDCFKHZModeWebForm" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>满意度调查反馈分站汇总表</title>
    <script src="../Content/EasyUI/jquery.js"></script>
    <script src="../Content/EasyUI/jquery.easyui.js"></script>
    <script src="../Content/EasyUI/locale/easyui-lang-zh_CN.js"></script>
    <link href="../Content/EasyUI/themes/icon.css" rel="stylesheet" />
    <link href="../Content/EasyUI/themes/default/easyui.css" rel="stylesheet" />
    <script src="../Scripts/jquery.AnkeExtend.js"></script>
    <script type="text/javascript">
        //页面加载
        $(document).ready(function () {
            DisableBackspace();
            fillCombobox();
        });
        function fillCombobox() {
            $('#Year').combobox({
                valueField: 'ID',
                textField: 'Name',
                method: 'get',
                editable: false,
                panelHeight: 'auto',
                multiple: false,
                prompt: '--请选择--',
                data: [
                {
                    ID: '2012',
                    Name: '2012'
                },
                {
                    ID: '2013',
                    Name: '2013'
                },
                {
                    ID: '2014',
                    Name: '2014'
                },
                {
                    ID: '2015',
                    Name: '2015'
                },
                {
                    ID: '2016',
                    Name: '2016'
                },
                {
                    ID: '2017',
                    Name: '2017'
                },
                {
                    ID: '2018',
                    Name: '2018'
                },
                {
                    ID: '2019',
                    Name: '2019'
                },
                {
                    ID: '2020',
                    Name: '2020'
                },
                {
                    ID: '2021',
                    Name: '2021'
                }
                ],
                onSelect: function () {
                    $('#HiddenForYear').val($('#Year').combobox('getValue'))
                }
            })

            $('#Month').combobox({
                valueField: 'ID',
                textField: 'Name',
                method: 'get',
                editable: false,
                panelHeight: 'auto',
                multiple: false,
                prompt: '--请选择--',
                data: [
                {
                    ID: '1',
                    Name: '1'
                },
                {
                    ID: '2',
                    Name: '2'
                },
                {
                    ID: '3',
                    Name: '3'
                },
                {
                    ID: '4',
                    Name: '4'
                },
                {
                    ID: '5',
                    Name: '5'
                },
                {
                    ID: '6',
                    Name: '6'
                },
                {
                    ID: '7',
                    Name: '7'
                },
                {
                    ID: '8',
                    Name: '8'
                },
                {
                    ID: '9',
                    Name: '9'
                },
                {
                    ID: '10',
                    Name: '10'
                },
                {
                    ID: '11',
                    Name: '11'
                },
                {
                    ID: '12',
                    Name: '12'
                }
                ],
                onSelect: function () {
                    $('#HiddenFieldForMonth').val($('#Month').combobox('getValue'))
                }
            })
            $('#Year').combobox('setValue', $('#HiddenForYear').val());
            $('#Month').combobox('setValue', $('#HiddenFieldForMonth').val());
        };

    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <table>
            <tr>
                <td>年份：</td>
                <td>
                    <%--<asp:TextBox ID="Year" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>--%>
                    <asp:HiddenField ID="HiddenForYear" runat="server" />
                    <select id="Year" class="easyui-combobox" style="width: 150px" editable="false">
                    </select>
                </td>
                <td>&nbsp;&nbsp;月份：</td>
                <td>
                    <%--<asp:TextBox ID="Month" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>--%>
                    <asp:HiddenField ID="HiddenFieldForMonth" runat="server" />
                    <select id="Month" class="easyui-combobox" editable="false" style="width: 150px">
                    </select>
                </td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  
                    <asp:Button ID="Button1" runat="server" Text="查询" OnClick="btnSearch_Click" />
                    &nbsp;
                </td>
            </tr>
        </table>
        <div style="background-color: #fafafa; border-left: 1px solid scrollbar; overflow: hidden; height: 100%;">
            <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="100%"
                ZoomMode="PageWidth" ShowBackButton="true" SizeToReportContent="True">
            </rsweb:ReportViewer>
        </div>
    </form>
</body>
</html>
